package com.example.mybiadushoujiweishi.activity.acivitys.utils;

import android.support.v4.view.GestureDetectorCompat;
import android.support.v7.widget.RecyclerView;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;

/**
 * Created by Administrator on 2017/5/26 0026.
 */

public class OnitemlListener implements RecyclerView.OnTouchListener {
    private GestureDetectorCompat gestureDetectorCompat;

    private RecyclerView recyclerView;

    public OnitemlListener(RecyclerView recyclerView) {
        this.recyclerView = recyclerView;
    //    gestureDetectorCompat=new GestureDetectorCompat(recyclerView.getContext(),new ItemTo)
    }

    @Override
    public boolean onTouch(View v, MotionEvent event) {
        return false;
    }

    private class ItemTochHelperGestureListener extends GestureDetector.SimpleOnGestureListener{
        @Override
        public boolean onSingleTapUp(MotionEvent e) {
            return super.onSingleTapUp(e);

        }

        @Override
        public void onLongPress(MotionEvent e) {
            super.onLongPress(e);
        }
    }
}
